package com.zzh.lib.plugin.install;


import com.zzh.lib.plugin.ctx.Plugin;

import java.util.Map;

/**
 * @Date: 2021/5/26 16:22
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description: 插件安装加载事件通知
 */
public interface PluginInstallListener {

    void onHostInitialised(boolean hasError);

    void onPluginsLoaded(Plugin target, Map<String, Plugin> newLoadedPlugins);

    void onPluginsLoadError(Throwable ex, boolean isCallbackError);
}
